package com.insurance.product.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 产品
 */
@ApiModel(value = "产品")
@Data
public class ProductDto implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "产品id")
	private String productId;

	@ApiModelProperty(value = "产品名称")
	private String productName;

	@ApiModelProperty(value = "产品编码")
	private String productCode;

	@ApiModelProperty(value = "产品描述")
	private String productDesc;

	@ApiModelProperty(value = "产品logo")
	private String productLogo;

	@ApiModelProperty(value = "销售量")
	private Integer orderCount;

	@ApiModelProperty(value = "响应码")
	private String productPrice;

	@ApiModelProperty(value = "产品副标题")
	private String productSubname;

	@ApiModelProperty(value = "保险公司logo")
	private String insureLogo;

	@ApiModelProperty(value = "保险公司编码或Id")
	private String insureCode;

	@ApiModelProperty(value = "保险公司名称")
	private String insureName;

	@ApiModelProperty(value = "保险期限描述")
	private String insureDate;

	@ApiModelProperty(value = "出单机构")
	private String issueOrgan;

	@ApiModelProperty(value = "产品介绍")
	private String description;

	@ApiModelProperty(value = "产品id字符串")
	private String productIdStr;

	public String getProductIdStr() {
		return this.productId != null ? String.valueOf(this.productId) : "";
	}

	/*@ApiModelProperty(value = "投保须知img")
	private String instructionsDesc;

	@ApiModelProperty(value = "理赔流程img")
	private String claimsDesc;

	@ApiModelProperty(value = "保险协议")
	private String insureAgreement;

	@ApiModelProperty(value = "偿还能力披露")
	private String insureRepay;*/

}
